﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WFA_BANHANG.HeThong.DynamicMenu
{
    class CreateDynamicMenuBLO
    {
        #region(Bien toan cuc)
        private CreateDynamicMenuDTO _cdmdto;
        private CreateDynamicMenuDAO _cdmdao;
        private Int32 _lamGi;
        #endregion(the end Bien toan cuc)

        internal CreateDynamicMenuDTO Cdmdto
        {
            get { return _cdmdto; }
            set { _cdmdto = value; }
        }

        public CreateDynamicMenuBLO(Int32 lamGi) {
        
            this._lamGi = lamGi;
            _cdmdto = new CreateDynamicMenuDTO();
            _cdmdao = new CreateDynamicMenuDAO();

        }

        //method Call to request to Call method of CreatDynamicMenuDAO
        public void Call() {            
            _cdmdao.Call(_lamGi, Cdmdto);
        }

    }//the end class
}//the end namespace
